package com.heeexy.example.dto;


import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.*;
import com.alibaba.excel.enums.BooleanEnum;
import com.alibaba.excel.enums.poi.FillPatternTypeEnum;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.stereotype.Repository;

/**
 * 教师数据类
 * @author MyPC
 */
@Data
@EqualsAndHashCode
@Repository
@HeadStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 99)
@ContentFontStyle(fontHeightInPoints=12,bold= BooleanEnum.FALSE,fontName = "宋体")
@HeadFontStyle(fontHeightInPoints = 12,bold= BooleanEnum.FALSE,fontName = "宋体")
@ContentRowHeight(15)
@HeadRowHeight(15)

public class TeacherInfo {

  @ExcelIgnore
  private long tid;
  @ColumnWidth(29)
  @ExcelProperty(value =  {"邮箱/手机/账号*"})
  private String tusername;
  @ColumnWidth(12)
  @ExcelProperty(value =  {"姓名*"})
  private String tname;
  @ColumnWidth(12)
  @ExcelProperty(value =  {"密码"})
  private String tpassword = "123456";
  @ColumnWidth(12)
  @ExcelProperty(value =  {"学校名称"})
  private String schoolname;
  @ExcelIgnore
  private long uid;
}
